export const enum GameState {
    GS_INIT,
    GS_START,
    GS_PLAYING,
    GS_STOP,
    GS_END,
}

export const enum EnemyType {
    ADMIN = 'admin',
    USER = 'user',
    GUEST = 'guest',
    MODERATOR = 'moderator'
}

export const enum PropType {
    GOLD = "gold",
    RED_PACK = "redpack",
}


export class GameConstants {

    public static readonly MY_GOLD : string = 'myGold' as const
    
   // 货币单位
    public static readonly UNITS = new Set([
            [1000000000000, 'T'],
            [1000000000, 'B'],
            [1000000, 'M'],
            [1000, 'k']
    ] as const);

    // 配置管理
    CONFIG = {
        // 支持的图片格式
        SUPPORTED_IMAGE_FORMATS: new Set(['png', 'jpg', 'jpeg', 'gif', 'webp'] as const),
        
        // 允许的文件大小（MB）
        MAX_FILE_SIZES: new Set([1, 2, 5, 10] as const),
        
        // 主题选项
        THEMES: new Set(['light', 'dark', 'auto'] as const)
    } as const;

};


